/**
 * 
 */
package at.ac.lbg.media.vis.framework.service;

import java.util.List;

import at.ac.lbg.media.vis.framework.domain.CategoryDO;
import at.ac.lbg.media.vis.framework.model.Category;

/**
 * @author Evelyn Münster
 *
 */
public interface ICategoryService {

	List<CategoryDO> getKeywords();

	List<Category> translate(List<CategoryDO> categoryDOs);

	Category translate(CategoryDO cDO);
	
	/**
	 * Gets all categories and keywords
	 * @return
	 */
	List<CategoryDO> getCategoryStructure();

	/**
	 * Gets the categories and keywords for this section only.
	 * @param section
	 * @return the categories and keywords for this section
	 */
	List<CategoryDO> getCategoryStructure(int sectionId);
	
	List<CategoryDO> convertToCategories(List<Object> categories);

    /**
     * @return all section-categories
     */
    List<CategoryDO> getSections();

    /**
     * @param cats
     * @param sectionId
     * @return
     */
    List<CategoryDO> filter(List<CategoryDO> cats, int sectionId);

}